package com.AcheDc.api.service.impl;import com.AcheDc.api.common.utils.DataResult;import com.AcheDc.api.entity.TestEntity;import com.AcheDc.api.mapper.Test2Mapper;import com.AcheDc.api.mapper.TestMapper;import com.AcheDc.api.service.TestService;import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.stereotype.Service;/** * <p> *  服务实现类 * </p> * * @author AcheDc * @since 2022-01-17 */@Servicepublic class TestServiceImpl extends ServiceImpl<TestMapper, TestEntity> implements TestService {    @Autowired    TestMapper testMapper;    @Autowired    Test2Mapper test2Mapper;    @Override    public DataResult getDetail() {        return DataResult.success(testMapper.ListTestDetail());    }    @Override    public DataResult getDetailById(String id) {        return DataResult.success(testMapper.ListTestDetailByColumn("t.id",id));    }}